﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>后台--文章管理</title>
    <link rel="stylesheet" type="text/css" href="<?php echo isset($skin)?$skin:"";?>images/style.css" />
    <base target="_self"/>

    <script src='<?php echo isset($skin)?$skin:"";?>js/jquery.min.js'></script>
    <script type="text/javascript" src="<?php echo isset($skin)?$skin:"";?>js/jquery.form.min.js"></script>
    <script type="text/javascript" src="<?php echo isset($skin)?$skin:"";?>js/dist/dialog-min.js"></script>
    <script src="<?php echo isset($skin)?$skin:"";?>js/admin.js"></script>
    <script type="text/javascript">
        <!--
        $(document).ready(function () {
            $('.new_table tbody tr:even').addClass('h'); //奇偶变色，添加样式
        });
        //-->
    </script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>/js/validate.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artTemplate.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artTemplate-plugin.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/form.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artDialog.js"></script>
<script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/iframeTools.js"></script>
<link rel="stylesheet" href="<?php echo isset($skin)?$skin:"";?>js/artdialog.css" type="text/css">
</head>
<body>
<div class="hh6"></div>
<script language="javascript" type="text/javascript" src="<?php echo isset($skin)?$skin:"";?>js/My97DatePicker/WdatePicker.js"></script>

<form action="?c=work&a=add_do" name="k_form" method="post">
    <table class="new_table" width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
		<thead>
			<tr class="n_bt"><td colspan="2" align="center">内容管理系统</td></tr>
			<tr>
				<th height="28" colspan="2" class="thbt">【<?php echo isset($title)?$title:"";?>】</th>
			</tr></thead>
		<tbody>
			<tr>
				<td width="22%" height="30" align="right">日期：</td>
				<td width="78%"><input name="ad[startdate]" onClick="WdatePicker()" type="text" class="input400" value="<?php echo isset($oj->typename)?$oj->typename:"";?>" /></td>
			</tr>
			<tr>
				<td width="22%" height="30" align="right">工作标题：</td>
				<td width="78%"><input name="ad[title]" type="text" class="input400" value="<?php echo isset($oj->typename)?$oj->typename:"";?>" /></td>
			</tr>
			<input name="ad[typeid]" type="hidden" value="1">
			<tr>
				<td height="30" align="right">工作状态：</td>
				<td><select name="ad[ischeck]" class="input400 selecth" id="fid">
						<option value="0" <?php if(!$obj->ischeck){?>selected<?php }?>>未完成</option>
						<option value="1" <?php if($obj->ischeck){?>selected<?php }?>>已完成</option>
					</select> <span class="red">*</span></td>
			</tr>
			<tr>
				<td height="30" align="right">补贴等级：</td>
				<td>
					<select size="1" name="ad[click]" class="input400 selecth">
						<option value="0" <?php if(!$obj->click){?>selected<?php }?>>无</option>
						<option value="1" <?php if($obj->click==1){?>selected<?php }?>>等级一</option>
						<option value="2" <?php if($obj->click==2){?>selected<?php }?>>等级二</option>
						<option value="3" <?php if($obj->click==3){?>selected<?php }?>>等级三</option>
						<option value="4" <?php if($obj->click==4){?>selected<?php }?>>等级四</option>
					</select>
					</td>
			</tr>
			<tr>
				<td height="30" align="right">责任人：</td>
				<td>

			<ul>
				<?php if(is_array($user_list))  foreach($user_list as $v) { ?>
				<?php if($v->masterid!=$uid){?>
				<li><input  <?php if(!$id){?>type="checkbox"<?php }else{?>type="hidden"<?php }?> name="user[]" value="<?php echo isset($v->masterid)?$v->masterid:"";?>"> <?php echo isset($v->nick)?$v->nick:"";?></li>
				<?php }?>
				<?php }?>
			</ul></td>
			</tr>

			<tr>
				<td height="40" colspan="2" align="center" >
					<!--<input class="button" name="into" type="button" id="set" value="设置模板" />-->
					&nbsp;&nbsp;&nbsp;&nbsp;
					<input class="button" name="into" type="submit" id="submit" value="<?php echo isset($submit)?$submit:"";?>" />
					<input name="id" type="hidden" value="<?php echo isset($oj->id)?$oj->id:"";?>" />
					<input type="hidden" name="c" value="arctype" />
					<input type="hidden" name="a" value="<?php echo isset($form_action)?$form_action:"";?>" />
				</td>
			</tr>
		</tbody>
    </table>    
</form>